A5WS_Get_Group_Assignments Function

Syntax

User_List as C = a5ws_Get_Group_Assignments(C group_name [,* Localrequest [,L FlagWeb ]])

Arguments

User_List

CR-LF delimited list of users by userid assigned to a particular group in the current project.

group_name

The name of a group in the current project.

Localrequest

Optional. The Request system variable. This variable explicitly passes all request variables to the function.

FlagWeb

Optional. Default = .T. when run in the web server. .F. when run in the desktop. .T. = Format suitable for use in a list, checkbox, or radio control on a web page .F. = CR-LF delimited list of userid values only

Description

Return a CR-LF delimited list of users assigned to a particular group in the current project. FlagWeb default value is .F. FlagWeb = .T. will output list in a format used in web components for checkboxes, radio buttons, list boxes and dropdowns. 'Request' pointer must be provided if run in web page.

Discussion

The A5WS_Get_Group_Assignments() function returns a list of members of a named group.

Limitations

Web applications only.

See Also